#pragma once
#ifndef CGUIRADIO_H_
#define CGUIRADIO_H_

#include "GUI.h"

class CGUIRadio : public CGUIBase{
private:
	LPCSTR m_Text;
public:
	CGUIRadio(GUI_PARAMS* params, GUI_COLORS* _colors, GUI_SPRITES* _sprites, LPCSTR _text);
	~CGUIRadio();

	virtual bool WndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
    virtual bool HandleKeyboard( UINT uMsg, WPARAM wParam, LPARAM lParam );
    virtual bool HandleMouse( UINT uMsg, WPARAM wParam, LPARAM lParam );

	virtual bool RequestFocus();
	virtual bool CanHaveFocus();
    virtual void OnFocusIn();
    virtual void OnFocusOut();
    virtual void OnMouseEnter();
    virtual void OnMouseLeave();
    virtual void OnHotkey();

	virtual void Step();
	virtual void Draw();

	void SetText( LPCSTR _text ) { m_Text=_text; }
	LPCSTR GetText() { return m_Text; }
};

#endif